package com.lesso.lzh.sunflower.infra.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.lesso.lzh.sunflower.model.AttendanceRule;
import com.lesso.lzh.sunflower.pojo.dto.AttendanceRuleQueryDTO;
import com.lesso.lzh.sunflower.pojo.vo.AttendanceRuleVO;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * <p>
 * 考勤规则基础信息 Mapper 接口
 * </p>
 *
 * @author zqz
 * @since 2025-07-04
 */
public interface AttendanceRuleMapper extends BaseMapper<AttendanceRule> {

    int updateSelective(AttendanceRule attendanceRule);

    List<AttendanceRuleVO> selectPageList(RowBounds rowBounds, AttendanceRuleQueryDTO dto);
}